package com.upic.service;


import com.upic.po.jurisdiction.OperatorRole;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by zhubuqing on 2018/2/7.
 */
public interface OperatorRoleService {
    OperatorRole saveOperatorRole(OperatorRole operatorRole);

    String deleteOperatorRole(long operatorRoleId);

    OperatorRole updateOperatorRole(OperatorRole operatorRole);

    OperatorRole findOne(long operatorRoleId);

    Page<OperatorRole> searchOperatorRole(Pageable pageable);

    List<OperatorRole> searchOperatorRole();
}
